package com.taiyi.renaissancemall.ui.mine.collect

import android.os.Bundle
import android.util.Log
import com.taiyi.renaissancemall.R
import com.taiyi.renaissancemall.Utils.ToastUtils
import com.taiyi.renaissancemall.base.BaseActivity
import com.taiyi.renaissancemall.bean.CollectBean

class MyCollectActivity : BaseActivity<MyCollectView, MyCollectPresent>(), MyCollectView {

    override fun getLayoutId(): Int = R.layout.activity_my_collect

    override fun initPresenter(): MyCollectPresent = MyCollectPresent()

    override fun initViews(savedInstanceState: Bundle?) {
    }

    override fun initData() {
//        MyCollectPresent().getCollect()
    }

    override fun initEvent() {
    }

    override fun CollectSuccess(collectBean: CollectBean?) {

    }

    override fun CollectFailure(msg: String?) {
        ToastUtils.showLongToast(msg)
    }

    override fun deleteSuccess() {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }

    override fun deleteFailure(msg: String?) {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }
}
